Discord-integration
Connect Asyntai AI to your Discord server for automated responses and moderation
Översikt
Asyntai's Discord integration adds an AI-powered bot to your Discord server. Community members can ask questions and get instant answers from your knowledge base. The bot supports three response modes and optional AI moderation.
Plankrav: Discord integration is available on Starter, Standard, and Pro plans.
Hur du installerar
Follow these steps to add the Asyntai bot to your Discord server:
Add the Bot to Your Server
Gå till Discord-inställningssidan och klicka "Lägg till i Discord". Välj din server och klicka Auktorisera. Boten är redo direkt — ingen extra konfiguration behövs. Du kan lägga till boten på flera servrar — klicka bara "Lägg till i Discord" igen. Varje server får egna inställningar.
Choose a Response Mode
After connecting, select how the bot interacts with your community:
- @mention (default) — The bot responds when someone tags it. Best for servers where you want the bot available but not intrusive.
- Alla meddelanden — AI läser varje meddelande och avgör om den ska svara. Bäst för dedikerade supportkanaler. Inkluderar extra alternativ:
- Smart läge (på som standard) — AI hoppar över vardagligt prat och svarar bara när den kan hjälpa. Av, svarar boten på varje meddelande.
- Kanalmedvetenhet — AI ser hela kanalens konversation från alla användare, inte bara enskilda trådar. Detta låter den följa gruppdiskussioner och svara i kontext.
- /ask command — Users type /ask followed by their question. Best for large servers where you want explicit bot interaction.
You can change the mode at any time from the setup page.
Test It Out
Go to any channel in your Discord server and tag the bot or use the /ask command. You should receive an AI-powered response within seconds.
AI-moderering
The Discord bot can also moderate your server. When enabled, the AI reads every message and takes action based on rules you define. Each action can be independently enabled:
Obs! Varje modereringskontroll räknas som 1 meddelande från din månatliga plankvot, även om AI inte vidtar någon åtgärd.
- Delete messages — Remove messages that violate your rules (spam, NSFW, etc.)
- Warn users — Send a visible warning for minor violations
- Kick users — Remove users from the server for repeated violations
- Ban users — Permanently ban users for severe violations
Moderation runs independently of the response mode. Even in /ask-only mode, moderation still monitors every message.
Alla modereringsåtgärder loggas och är synliga på sidan Modereringslogg, åtkomlig från inställningssidan. Du kan se vilken åtgärd som vidtogs, anledningen, det ursprungliga meddelandet och när det hände.
Tips: Start with Delete only, and add stronger actions once you are confident in the rules. The AI errs on the side of caution — when in doubt, it takes no action.
Proaktiva meddelanden
Boten kan starta konversationer på egen hand genom att posta AI-meddelanden enligt schema. Aktivera på inställningssidan och konfigurera:
- Kanalnamn — I vilken kanal boten postar (t.ex. general, support)
- Frekvens — Hur ofta: var 2:a, 4:e, 6:e, 12:e timme, dagligen, varannan dag eller veckovis
- Ämnen — Vad boten ska prata om. AI genererar ett fräscht, unikt meddelande varje gång baserat på dina ämnen.
Each proactive message counts as 1 message toward your plan quota.
Tips: Använd proaktiva meddelanden för att dela tips, lyfta fram funktioner eller hålla din community engagerad — även när ingen frågar.
Hur det fungerar
Once connected, here is what happens:
1. A community member sends a message in your Discord server
2. If moderation is enabled, the AI evaluates the message against your rules
3. If a response is triggered (by @mention, /ask, or all-messages mode), the AI generates an answer using your knowledge base
4. The response is sent in the channel, and the conversation is logged in your Asyntai dashboard
The AI maintains conversation context per user, so follow-up questions are understood in relation to previous messages.
Liveövervakning och mänsklig övertagning
Discord conversations appear in your Asyntai dashboard alongside other channels. On Standard and Pro plans, you can:
- Live Monitoring — See active Discord conversations in real time from the monitoring dashboard
- Human Takeover — Take over from the AI when a human touch is needed. The AI pauses and resumes automatically after 3 minutes of agent inactivity.
- Escalation — The AI can detect when a user wants to speak to a human and notify you by email
Advanced: Custom Bot Setup
If you prefer to use your own Discord Application instead of the shared Asyntai bot, expand the manual setup section on the setup page and provide your Application ID, Public Key, and Bot Token.
You will also need to set the Interactions Endpoint URL to https://asyntai.com/discord/webhook/ in the Discord Developer Portal.
Prissättning
Discord integration is included in paid Asyntai plans:
- Starter ($39/mån) - 2 500 meddelanden/månad
- Standard ($139/mån) - 15 000 meddelanden/månad
- Pro ($449/mån) - 50 000 meddelanden/månad
Messages from Discord count toward your monthly message quota, shared across all channels (widget, Instagram, WhatsApp, etc.).
Felsökning
Bot not responding
Check that the bot is online in your server member list. If using @mention or all-messages mode, the Gateway bot process must be running. If using /ask only, make sure the Interactions Endpoint URL is set in the Discord Developer Portal.
Moderation not working
Ensure moderation is enabled on the setup page with at least one action toggled on and rules filled in. The bot also needs Manage Messages, Kick Members, or Ban Members permissions depending on the action.
Missing permissions
If the bot cannot delete messages or kick/ban users, check that its role in Discord has the necessary permissions and is positioned above the roles of the users it needs to moderate.
Bot shows offline
The @mention and all-messages modes require the Gateway bot process to be running. Start it with python manage.py discord_bot and ensure it stays running as a background service. The /ask slash command works without the Gateway process.
Behöver du hjälp?
Om du har frågor eller stöter på problem, kontakta oss på hello@asyntai.com.